import request from "@/utils/request";
//获取标签
export function getTagPage(currentPage){
    return request({
        url:process.env.VUE_APP_WEB_API +'/metas/getTag/'+currentPage,
        method:"get",


    })
}
//添加标签
export function addBlogTag(params) {
    return request({
        url: process.env.VUE_APP_WEB_API + '/metas/addTag',
        method: 'post',
        data: params
    })
}
//删除标签
export function delBlogTag(mid){
    return request({
        url: process.env.VUE_APP_WEB_API + '/metas//del/'+mid,
        method: 'post',

    })
}

//编辑标签
export function editBlogTag(params){
    return request({
        url: process.env.VUE_APP_WEB_API + '/metas/editTag',
        method: 'Post',
        data:params

    })
}
//获取标签信息
export function getBlogTag(params){
    return request({
        url: process.env.VUE_APP_WEB_API + '/metas/get',
        method: 'Post',
        data:params
    })
}
